home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3rmpbm.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_RENDERMATPROPBITMAP_H = 1;
- include("real/raytr/r3rmprop.js")
-
-
- var R3CLID_RMPBITMAP = 428;
-
-
-
-
-
-
-
- R3RMPBMA_Bitmap = 428500;
- function GetR3RMPBMA_Bitmap() {
- return R3ToJS(R3Get(this.r3obj, R3RMPBMA_Bitmap, R3TID_OBJECT, 0));
- }
-
- R3RMPBMA_TileX = 428501;
- function SetR3RMPBMA_TileX(value) {
- R3Set(this.r3obj, R3RMPBMA_TileX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3RMPBMA_TileX() {
- return R3Get(this.r3obj, R3RMPBMA_TileX, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_TileY = 428505;
- function SetR3RMPBMA_TileY(value) {
- R3Set(this.r3obj, R3RMPBMA_TileY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3RMPBMA_TileY() {
- return R3Get(this.r3obj, R3RMPBMA_TileY, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_XFlags = 428509;
- function GetR3RMPBMA_XFlags() {
- return R3Get(this.r3obj, R3RMPBMA_XFlags, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_YFlags = 428510;
- function GetR3RMPBMA_YFlags() {
- return R3Get(this.r3obj, R3RMPBMA_YFlags, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_Width = 428511;
- function GetR3RMPBMA_Width() {
- return R3Get(this.r3obj, R3RMPBMA_Width, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_Height = 428512;
- function GetR3RMPBMA_Height() {
- return R3Get(this.r3obj, R3RMPBMA_Height, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_PixelReader = 428513;
- function GetR3RMPBMA_PixelReader() {
- return R3ToJS(R3Get(this.r3obj, R3RMPBMA_PixelReader, R3TID_OBJECT, 0));
- }
-
- R3RMPBMA_PixelReaderContext = 428514;
- function GetR3RMPBMA_PixelReaderContext() {
- return R3ToJS(R3Get(this.r3obj, R3RMPBMA_PixelReaderContext, R3TID_OBJECT, 0));
- }
-
- R3RMPBMA_OutputAddr = 428515;
- function GetR3RMPBMA_OutputAddr() {
- return R3ToJS(R3Get(this.r3obj, R3RMPBMA_OutputAddr, R3TID_OBJECT, 0));
- }
-
- R3RMPBMA_BitmapName = 428516;
- function SetR3RMPBMA_BitmapName(value) {
- R3Set(this.r3obj, R3RMPBMA_BitmapName, value, R3TID_STRING, 0);
- }
-
- function GetR3RMPBMA_BitmapName() {
- return R3Get(this.r3obj, R3RMPBMA_BitmapName, R3TID_STRING, 0);
- }
-
- R3RMPBMA_CurrentFrame = 428518;
- function SetR3RMPBMA_CurrentFrame(value) {
- R3Set(this.r3obj, R3RMPBMA_CurrentFrame, value, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_BleedX = 428519;
- function SetR3RMPBMA_BleedX(value) {
- R3Set(this.r3obj, R3RMPBMA_BleedX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3RMPBMA_BleedX() {
- return R3Get(this.r3obj, R3RMPBMA_BleedX, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_BleedY = 428520;
- function SetR3RMPBMA_BleedY(value) {
- R3Set(this.r3obj, R3RMPBMA_BleedY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3RMPBMA_BleedY() {
- return R3Get(this.r3obj, R3RMPBMA_BleedY, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_SmoothRadius = 428521;
- function SetR3RMPBMA_SmoothRadius(value) {
- R3Set(this.r3obj, R3RMPBMA_SmoothRadius, value, R3TID_FLOAT, 0);
- }
-
- function GetR3RMPBMA_SmoothRadius() {
- return R3Get(this.r3obj, R3RMPBMA_SmoothRadius, R3TID_FLOAT, 0);
- }
-
- R3RMPBMA_Silent = 428522;
- function SetR3RMPBMA_Silent(value) {
- R3Set(this.r3obj, R3RMPBMA_Silent, value, R3TID_INTEGER, 0);
- }
-
- function GetR3RMPBMA_Silent() {
- return R3Get(this.r3obj, R3RMPBMA_Silent, R3TID_INTEGER, 0);
- }
-
- R3RMPBMA_SkipLink = 428524;
- function SetR3RMPBMA_SkipLink(value) {
- R3Set(this.r3obj, R3RMPBMA_SkipLink, value, R3TID_BOOLEAN, 0);
- }
-
- R3RMPBMA_UseDefaultBindings = 428525;
- function SetR3RMPBMA_UseDefaultBindings(value) {
- R3Set(this.r3obj, R3RMPBMA_UseDefaultBindings, value, R3TID_BOOLEAN, 0);
- }
-
- var R3BMF_TILE = 1;
- var R3BMF_FLIP = 2;
- var R3BMF_GRADE = 4;
- var R3BMF_EDGE = 8;
- var R3BMF_BLEED = 16;
-
-
- function r3Rmpbitmap () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_RMPBITMAP, arguments);
- }
- // Methods
-
- // Attributes
- this.GetBitmap=GetR3RMPBMA_Bitmap;
- this.GetTileX=GetR3RMPBMA_TileX;
- this.SetTileX=SetR3RMPBMA_TileX;
- this.GetTileY=GetR3RMPBMA_TileY;
- this.SetTileY=SetR3RMPBMA_TileY;
- this.GetXFlags=GetR3RMPBMA_XFlags;
- this.GetYFlags=GetR3RMPBMA_YFlags;
- this.GetWidth=GetR3RMPBMA_Width;
- this.GetHeight=GetR3RMPBMA_Height;
- this.GetPixelReader=GetR3RMPBMA_PixelReader;
- this.GetPixelReaderContext=GetR3RMPBMA_PixelReaderContext;
- this.GetOutputAddr=GetR3RMPBMA_OutputAddr;
- this.GetBitmapName=GetR3RMPBMA_BitmapName;
- this.SetBitmapName=SetR3RMPBMA_BitmapName;
- this.SetCurrentFrame=SetR3RMPBMA_CurrentFrame;
- this.GetBleedX=GetR3RMPBMA_BleedX;
- this.SetBleedX=SetR3RMPBMA_BleedX;
- this.GetBleedY=GetR3RMPBMA_BleedY;
- this.SetBleedY=SetR3RMPBMA_BleedY;
- this.GetSmoothRadius=GetR3RMPBMA_SmoothRadius;
- this.SetSmoothRadius=SetR3RMPBMA_SmoothRadius;
- this.GetSilent=GetR3RMPBMA_Silent;
- this.SetSilent=SetR3RMPBMA_Silent;
- this.SetSkipLink=SetR3RMPBMA_SkipLink;
- this.SetUseDefaultBindings=SetR3RMPBMA_UseDefaultBindings;
- }
-
- r3Rmpbitmap.prototype=new r3Rmatprop;
- // r3rmpbm.h_H